package com.demo.dubbo.springboot;

import com.alibaba.dubbo.config.annotation.Service;
import com.demo.resourcecode.c14boot.User;

@Service(interfaceClass = UserService.class, timeout = 5000)
public class UserServiceImpl implements UserService {

    @Override
    public User saveUser(User user) {
        user.setName("zsl1111");
        System.out.println(user.toString());
        return user;
    }

}